{include file=header.html}
<script type="text/javascript" src="index.php?act=jslang"></script>
<script language="javascript" type="text/javascript"
	src="{res file=js/jquery-1.2.6.js}"></script>
<script language="javascript" type="text/javascript"
	src="{res file=js/common.js}"></script>
<script language="javascript" type="text/javascript"
	src="{lib file=ajaxfileupload.js}"></script>
<script language="javascript" type="text/javascript"
	src="{res file=js/jquery.funkyUI.js}"></script>
<script language="JavaScript" type="text/javascript"
	src="{res file=js/lan.js}"></script>
<link href="template/style/css/style.css" type="text/css"
	rel="stylesheet" />
<style>
label.error {
	color: red;
}
.img_border{
	border: 2px solid #000000;width: 80px;height: 60px;
}
</style>
<body>
	<div class="sub-body">
		<div class="tab-frame" style="width: 900px;">
			<div class="tab-title-1">
				<span>{$lang.recomm_color}</span>
			</div>
			<form id="recomm_form" method="post" enctype="multipart/form-data">
				<table width="100%" cellspacing="0" cellpadding="0" align="left"
					class="tab-display">
					<tbody>
						<tr>
							<th align="center" width="12%">{$lang.recomm_color}：</th>
							<td align="left" id="sample_recomm_img">
								<!--{foreach from=$recomm_img item=recomm}-->
								<a href="{url app=colorcard&act=show&cc_id=$recomm.cc_id}" target="_blank"><img src="{$recomm.default_image}" title="" width="220px" height="120px" /></a>
						        <!-- {if $user.role eq USER_MANAGER || $user.role eq USER_MERCHANDISER_ADMIN || $user.role eq USER_MERCHANDISER} -->
						        <!-- {if $sample_id} -->
						        <a class="pic_del" style="color:blue"  href="{url app=colorcard&act=remove&cc_id=$recomm.cc_id&sample_id=$sample_id}" onClick="return confirm('{$lang.confirm_remove_color}')" title="{$lang.delete}">&nbsp;</a>
						        <!-- {/if} -->
						        <!-- {if $order_id} -->
						        <a class="pic_del" style="color:blue"  href="{url app=order&act=remove&cc_id=$recomm.cc_id&order_id=$order_id}" onClick="return confirm('{$lang.confirm_remove_color}')" title="{$lang.delete}">&nbsp;</a>
						        <!-- {/if} -->
						        <!-- {/if} -->
								<!--{/foreach}-->
							</td>
						</tr>
						<tr>
							<td colspan="6">
								<input type="button" value="返 回" id="submit" class="btn-2" onclick="history.back();"/>
							</td>
						</tr>
					</tbody>
				</table>
			</form>
		</div>
	</div>
	<div id="remsg"></div>
</body>
</html>